//
//  RootViewController.h
//  ThuePhongDep
//
//  Created by Huynh Chi Hung on 7/15/13.
//  Copyright (c) 2013 Huynh Chi Hung. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "PaperFoldView.h"
#import "ImageCache.h"

@interface RootViewController : UIViewController<MKMapViewDelegate, UITableViewDataSource, UITableViewDelegate, PaperFoldViewDelegate, UIScrollViewDelegate> {
    PaperFoldView   *_paperFoldView;
    MKMapView       *_mapView;
    UITableView     *_leftTableView, *_centerTableView;
    UIView          *_topView, *_bottomView;
    NSMutableData   *receivedData;
    NSMutableDictionary *receivedDataByTag;

    NSMutableArray  *arrayData;
    NSInteger       _selectedRow;
    NSInteger       _totalData;
    NSInteger       _selectedMenu;
    BOOL            _isEndData;
    BOOL            _finishLoad;
}

@property (nonatomic, retain) PaperFoldView *paperFoldView;
@property (nonatomic, retain) MKMapView *mapView;
@property (nonatomic, retain) UITableView *leftTableView, *centerTableView;
@property (nonatomic, retain) UIView *topView, *bottomView;

@end
